﻿
namespace GeoPlugIn
{
    /// <summary>
    /// This interface exposes required properties and methods for source document access
    /// </summary>
    public interface IReader
    {
        /// <summary>Error text if preconditions error detected</summary>
        string Diagnostic  { get; }

        /// <summary>Metadata validity start date</summary>
        string VersionDate { get; }

        /// <summary>SDMX version for generated artefacts</summary>
        string VersionSdmx { get; }

        /// <summary>Basic validation method for source document</summary>
        /// <returns>True on error</returns>
        bool ValidatePreConditions();
    }
}
